package pojo;

public class UserInfo {
    private Integer id;

    private String name;

    private String phone;
//    1禁用，0启用
    private  String status;
//    1管理原，0普通用户
    private String type;

    public UserInfo() {
    }

    public UserInfo(Integer id, String name, String phone, String status, String type) {
        this.id = id;
        this.name = name;
        this.phone = phone;
        this.status = status;
        this.type = type;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return phone
     */
    public String getPhone() {
        return phone;
    }

    /**
     * 设置
     * @param phone
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * 获取
     * @return status
     */
    public String getStatus() {
        return status;
    }

    /**
     * 设置
     * @param status
     */
    public void setStatus(String status) {
        this.status = status;
    }

    /**
     * 获取
     * @return type
     */
    public String getType() {
        return type;
    }

    /**
     * 设置
     * @param type
     */
    public void setType(String type) {
        this.type = type;
    }

    public String toString() {
        return "UserInfo{id = " + id + ", name = " + name + ", phone = " + phone + ", status = " + status + ", type = " + type + "}";
    }
}
